﻿using System;

namespace CloundUploader.Framework.Upload
{
    public class UploadFileInfo
    {
        public string Src { get; set; }
        public string Name { get; set; }
        public string Desc { get; set; }
        public string Ext { get; set; }
        public string Tag { get; set; }
        public string Website { get; set; }
        public string Category { get; set; }
        public bool IsLocal()
        {
            return !(Src.Substring(0, 4).ToLower() == "http" || Src.Substring(0, 3).ToLower() == "ftp");
        }
    }
}
